﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;


  public static  class RegexExtensions
    {
        public static string AddGroupValues(this Match match)
        {
            var sb = new StringBuilder();
            for (int i = 1; i < match.Groups.Count; i++)
            {
                sb.Append(match.Groups[i].Value);
            }
            return sb.ToString();
        }

    }

